/*
 * $Id: XLIPos.h,v 1.1 2006-02-09 04:38:53 bacon Exp $
 */

#ifndef _XPP_XLI_XLIPOS_CLASS_
#define _XPP_XLI_XLIPOS_CLASS_

#include <xpp/Object.h>

namespace xpp
{
	namespace xli
	{

		class XLIPos
		{
		public:
		
			XLIPos (): _line(0), _column(0)
			{
			}
		
			XLIPos (xp_size_t line, xp_size_t column): 
				_line(line), _column(column)
			{
			}
		
			void setLine (xp_size_t line) 
			{
				this->_line = line;
			}
			void setCol (xp_size_t column) 
			{
				this->_column = column;
			}
		
			xp_size_t line () const 
			{
				return this->_line;
			}

			xp_size_t column () const 
			{
				return this->_column;
			}
		
		protected:
			xp_size_t _line;
			xp_size_t _column;
		};
		
	}
}

#endif
